package com.owc.domain.dto.admin;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ApiModel("理财订单DTO")
public class WealthDTO implements Serializable {

    @ApiModelProperty("订单ID")
    private Long orderId;

    @ApiModelProperty("产品ID")
    private Long productId;

    @ApiModelProperty("产品名称")
    private String productName;

    @ApiModelProperty("购买人")
    private String buyUserName;

    @ApiModelProperty("手机号码")
    private String phone;

    @ApiModelProperty("购买时间")
    private String buyTime;

    @ApiModelProperty("购买币种")
    private String tokenName;

    @ApiModelProperty("购买数量")
    private BigDecimal amount;

    @ApiModelProperty("已获得收益")
    private BigDecimal income;

    @ApiModelProperty("状态  10(已生效) 20(已逾期) 30(已完成)")
    private Integer status;

    @ApiModelProperty("赎回时间")
    private String redeemTime;

    @ApiModelProperty("订单ID")
    private Long id;

}
